home *** CD-ROM | disk | FTP | other *** search
- STSQ, STUSQ - Squeeze (Compress), Unsqueeze (DeCompress) files.
- ATARI ST520.
-
- SYNOPSYS
-
- STSQ [file_name] STUSQ [file_name]
-
- DESCRIPTION
-
- stsq
-
- This program compresses a file without losing information.
- STUSQ must be run to unsqueeze the file before it can be used.
-
- Typical compression rates are:
-
- Binary 6-12%
- Ascii 33-46%
-
- The squeezed file name is formed by changing the second from
- last letter of the file type to Q. If there is no file type,
- the squeezed file type is QQQ. If the named exists it is
- overwritten!
-
- The transformations compress strings of identical bytes and
- then encode each resulting byte value and EOF as bit strings
- having lengths in inverse proportion to their frequency of
- occurrence in the intermediate input stream. The latter uses
- the Huffman algorithm. Decoding information is included in the
- squeezed file, so squeezing short files or files with uniformly
- distributed byte valu